iterator two(a,b:int):int =
  var v = a
  while v <= b:
    yield v
    v+=2

for i in two(1,10):
  echo i
